package com.mode.chain.responsibility;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 16:42
 */
public class Client {

    public static void main(String[] args) {
        ConcreteHandler handler1 = new ConcreteHandler();
        ConcreteHandler handler2 = new ConcreteHandler();
        handler1.setNextHandler(handler2);
        handler1.handleRequest();
    }
}
